﻿using VirtualTournaments.Business.Tournaments;

namespace VirtualTournaments.Business.Tests
{
    internal class MatchStub : Match
    { 

        public MatchStub(Team local, Team visitor)
            : base(null, local, visitor)
        {
        }

        public void SetWinner(Team winner) 
        {
            Result = new MatchResult(winner, new Team(""), 1, 0);
            IsPlayed = true;
        }

    }
}
